package com.lin.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by Administrator on 2017-10-20.
 */
@Entity
@DynamicUpdate
@Data
@Table(name = "product")
public class Product {
    @Id
    private String id;

    private String name;

    private String remark;

    private Integer category;

    private Date createTime;

    private Integer brand;
}
